/*
 * quantaComp.cpp
 *
 *  Created on: Jun 28, 2009
 *      Author: yanir
 */

#include "quantaComp.h"

quantaComp::quantaComp()
{
}

bool quantaComp::operator()(Worker* w_A,Worker* w_B) {


	if (w_A->getNeededQuanta() < w_B->getNeededQuanta()) return true;
	return false;
}
quantaComp::~quantaComp()
{
}
